package org.feifei.user.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.feifei.basic.domain.BaseDomain;

/**
 * Entity: 微信登录信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Getter
@Setter
@EqualsAndHashCode
public class WxUser extends BaseDomain {

  private static final long serialVersionUID = 8174121120152801966L;
  @ApiModelProperty("唯一表示id")
  private String openid;
  @ApiModelProperty("微信用户昵称")
  private String nickname;
  @ApiModelProperty("性别")
  private Integer sex;
  @ApiModelProperty("微信登记地址")
  private String address;
  @ApiModelProperty("头像")
  private String headimgurl;
  @ApiModelProperty("同一用户对象同一层的对应id")
  private String unionid;
  @ApiModelProperty("对应的user表中的id")
  private Long user_id;

}
